#!/usr/bin/make -f
#export DH_VERBOSE = 1

%:
	dh $@

override_dh_auto_install:
	sh -c "\
		mkdir -p debian/truenas-files/etc; \
		cp -a etc debian/truenas-files/; \
		cp -a lib debian/truenas-files/; \
		cp -a usr debian/truenas-files/; \
		mkdir debian/truenas-files/home; \
		cp -a root debian/truenas-files/home/admin; \
		chmod 700 debian/truenas-files/home/admin; \
		chown -R 950:950 debian/truenas-files/home/admin; \
		cp -a root debian/truenas-files/; \
		chmod 700 debian/truenas-files/root; \
		mkdir -p debian/truenas-files/conf/base/etc; \
	"

override_dh_fixperms:

override_dh_shlibdeps:

override_dh_usrlocal:
